<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NVTX C API Reference: nvToolsExtPayload.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">NVTX C API Reference<span id="projectnumber">&#160;v3</span>
   </div>
   <div id="projectbrief">NVIDIA Tools Extension Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_48b95086e7eb28d79ef283b47c5fa0c6.html">nvtx3</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">nvToolsExtPayload.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION &amp; AFFILIATES. All rights reserved.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> *</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> * you may not use this file except in compliance with the License.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> * You may obtain a copy of the License at</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> *</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> *</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> * limitations under the License.</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> *</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> * Licensed under the Apache License v2.0 with LLVM Exceptions.</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> * See https://nvidia.github.io/NVTX/LICENSE.txt for license information.</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> */</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#if defined(NVTX_AS_SYSTEM_HEADER)</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#if defined(__clang__)</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#pragma clang system_header</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#elif defined(__GNUC__) || defined(__NVCOMPILER)</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#pragma GCC system_header</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#elif defined(_MSC_VER)</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#pragma system_header</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#include &quot;<a class="code" href="nv_tools_ext_8h.html">nvToolsExt.h</a>&quot;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="comment">/* Optionally include helper macros. */</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="comment">/* #include &quot;nvToolsExtPayloadHelper.h&quot; */</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor">#ifndef NVTX_EXT_PAYLOAD_COMPATID</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="preprocessor">#define NVTX_EXT_PAYLOAD_COMPATID 0x0104</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="preprocessor">#ifndef NVTX_EXT_PAYLOAD_MODULEID</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor">#define NVTX_EXT_PAYLOAD_MODULEID 2</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_TYPE_EXT</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="preprocessor">#define NVTX_PAYLOAD_TYPE_EXT (NVTX_STATIC_CAST(int32_t, 0xDFBD0009))</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_ENTRY_FLAGS_V1</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAGS_V1</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_UNUSED 0</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_POINTER          (1 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_OFFSET_FROM_BASE (1 &lt;&lt; 2)</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_OFFSET_FROM_HERE (1 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_FIXED_SIZE           (1 &lt;&lt; 4)</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_ZERO_TERMINATED      (2 &lt;&lt; 4)</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_LENGTH_INDEX         (3 &lt;&lt; 4)</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_LENGTH_PAYLOAD_INDEX (4 &lt;&lt; 4)</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_DEEP_COPY          (1 &lt;&lt; 8)</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_HIDE               (1 &lt;&lt; 9)</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_EVENT_MESSAGE      (1 &lt;&lt; 10)</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_TIMESTAMP          (2 &lt;&lt; 10)</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_RANGE_BEGIN        (1 &lt;&lt; 12)</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_RANGE_END          (2 &lt;&lt; 12)</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_MARK               (3 &lt;&lt; 12)</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_COUNTER            (4 &lt;&lt; 12)</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_ENTRY_FLAGS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="comment">/* Helper macro to check if an entry represents an array. */</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_IS_ARRAY (\</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span><span class="preprocessor">    NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_FIXED_SIZE | \</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span><span class="preprocessor">    NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_ZERO_TERMINATED | \</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span><span class="preprocessor">    NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_LENGTH_INDEX)</span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_FLAG_ARRAY_TYPE(F) \</span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span><span class="preprocessor">    ((F) &amp; NVTX_PAYLOAD_ENTRY_FLAG_IS_ARRAY)</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_ENTRY_TYPES_V1</span></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPES_V1</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INVALID     0</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CHAR        1</span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UCHAR       2</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_SHORT       3</span></div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_USHORT      4</span></div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INT         5</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UINT        6</span></div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_LONG        7</span></div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_ULONG       8</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_LONGLONG    9</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_ULONGLONG  10</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span> </div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INT8       11</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UINT8      12</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INT16      13</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UINT16     14</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INT32      15</span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UINT32     16</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INT64      17</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UINT64     18</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_FLOAT      19</span></div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_DOUBLE     20</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_LONGDOUBLE 21</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_SIZE       22</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_ADDRESS    23</span></div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_WCHAR      24 </span><span class="comment">/* wide character (since C90) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CHAR8      25 </span><span class="comment">/* since C2x and C++20 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CHAR16     26</span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CHAR32     27</span></div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INFO_ARRAY_SIZE (NVTX_PAYLOAD_ENTRY_TYPE_CHAR32 + 1)</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span> </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_BYTE       32</span></div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span> </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_INT128     33</span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UINT128    34</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span> </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_FLOAT16    42</span></div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_FLOAT32    43</span></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_FLOAT64    44</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_FLOAT128   45</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span> </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_BF16       50</span></div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_TF32       52</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span> </div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CATEGORY   68 </span><span class="comment">/* uint32_t */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_COLOR_ARGB 69 </span><span class="comment">/* uint32_t */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span> </div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_SCOPE_ID   70 </span><span class="comment">/* uint64_t */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span> </div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_PID_UINT32 71</span></div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_PID_UINT64 72</span></div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_TID_UINT32 73</span></div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_TID_UINT64 74</span></div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span> </div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CSTRING       75 </span><span class="comment">/* `char*`, system LOCALE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CSTRING_UTF8  76</span></div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CSTRING_UTF16 77</span></div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_CSTRING_UTF32 78</span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span> </div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno">  324</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_NVTX_REGISTERED_STRING_HANDLE 80</span></div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span> </div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno">  331</span><span class="preprocessor">#define NVTX_PAYLOAD_ENTRY_TYPE_UNION_SELECTOR 100</span></div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno">  332</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span><span class="preprocessor">#define NVTX_TYPE_PAYLOAD_SCHEMA_REFERENCED 1022</span></div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span> </div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span><span class="preprocessor">#define NVTX_TYPE_PAYLOAD_SCHEMA_RAW        1023</span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span> </div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span><span class="comment">/* Custom (static) schema IDs. */</span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ID_STATIC_START  (1 &lt;&lt; 24)</span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span> </div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span><span class="comment">/* Dynamic schema IDs (generated by the tool) start here. */</span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno">  357</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ID_DYNAMIC_START (NVTX_STATIC_CAST(uint64_t, 1) &lt;&lt; 32)</span></div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span> </div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_ENTRY_TYPES_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_SCHEMA_TYPES_V1</span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_TYPES_V1</span></div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span> </div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_TYPE_INVALID                      0</span></div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_TYPE_STATIC                       1</span></div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_TYPE_DYNAMIC                      2</span></div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_TYPE_UNION                        3</span></div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_TYPE_UNION_WITH_INTERNAL_SELECTOR 4</span></div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span> </div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_SCHEMA_TYPES_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span> </div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span> </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_SCHEMA_FLAGS_V1</span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAGS_V1</span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span> </div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_NONE           0</span></div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span> </div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_DEEP_COPY      (1 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span> </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_REFERENCED     (1 &lt;&lt; 2)</span></div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span> </div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_COUNTER_GROUP  (1 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span> </div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_RANGE_PUSHPOP  (2 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_RANGE_STARTEND (3 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_FLAG_MARK           (4 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span> </div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_SCHEMA_FLAGS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span> </div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span> </div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_SCHEMA_ATTR_FIELDS_V1</span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELDS_V1</span></div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno">  426</span> </div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_NAME        (1 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_TYPE        (1 &lt;&lt; 2)</span></div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_FLAGS       (1 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_ENTRIES     (1 &lt;&lt; 4)</span></div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_NUM_ENTRIES (1 &lt;&lt; 5)</span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_STATIC_SIZE (1 &lt;&lt; 6)</span></div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_ALIGNMENT   (1 &lt;&lt; 7)</span></div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_SCHEMA_ID   (1 &lt;&lt; 8)</span></div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span><span class="preprocessor">#define NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_EXTENSION   (1 &lt;&lt; 9)</span></div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span> </div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno">  441</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_SCHEMA_ATTR_FIELDS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span> </div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span> </div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_ENUM_ATTR_FIELDS_V1</span></div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELDS_V1</span></div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span> </div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELD_NAME        (1 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELD_ENTRIES     (1 &lt;&lt; 2)</span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELD_NUM_ENTRIES (1 &lt;&lt; 3)</span></div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELD_SIZE        (1 &lt;&lt; 4)</span></div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELD_SCHEMA_ID   (1 &lt;&lt; 5)</span></div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span><span class="preprocessor">#define NVTX_PAYLOAD_ENUM_ATTR_FIELD_EXTENSION   (1 &lt;&lt; 6)</span></div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span> </div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_ENUM_ATTR_FIELDS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span> </div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span><span class="preprocessor">#ifndef NVTX_SCOPES_V1</span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span><span class="preprocessor">#define NVTX_SCOPES_V1</span></div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span> </div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno">  467</span><span class="preprocessor">#define NVTX_SCOPE_NONE                    0 </span><span class="comment">/* No scope specified. */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span><span class="preprocessor">#define NVTX_SCOPE_ROOT                    1 </span><span class="comment">/* The root in a hierarchy. */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span> </div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span><span class="comment">/* Hardware events */</span></div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_HW_MACHINE      2 </span><span class="comment">/* Node/machine name */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_HW_SOCKET       3</span></div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_HW_CPU_PHYSICAL 4 </span><span class="comment">/* Physical CPU core */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_HW_CPU_LOGICAL  5 </span><span class="comment">/* Logical CPU core */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span><span class="comment">/* Innermost HW execution context */</span></div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_HW_INNERMOST   15</span></div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno">  477</span> </div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span><span class="comment">/* Virtualized hardware, virtual machines */</span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno">  479</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_HYPERVISOR     16</span></div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno">  480</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_VM             17</span></div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno">  481</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_KERNEL         18</span></div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno">  482</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_CONTAINER      19</span></div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno">  483</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_OS             20</span></div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span> </div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span><span class="comment">/* Software scopes */</span></div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_SW_PROCESS     21 </span><span class="comment">/* Process scope */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno">  487</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_SW_THREAD      22 </span><span class="comment">/* Thread scope */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno">  488</span><span class="comment">/* Innermost SW execution context */</span></div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span><span class="preprocessor">#define NVTX_SCOPE_CURRENT_SW_INNERMOST   31</span></div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno">  490</span> </div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno">  492</span><span class="preprocessor">#define NVTX_SCOPE_ID_STATIC_START  (1 &lt;&lt; 24)</span></div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span> </div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span><span class="comment">/* Dynamically (tool) generated scope IDs */</span></div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno">  495</span><span class="preprocessor">#define NVTX_SCOPE_ID_DYNAMIC_START (NVTX_STATIC_CAST(uint64_t, 1) &lt;&lt; 32)</span></div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno">  496</span> </div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno">  497</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_SCOPES_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno">  498</span> </div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno">  499</span><span class="preprocessor">#ifndef NVTX_TIME_V1</span></div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno">  500</span><span class="preprocessor">#define NVTX_TIME_V1</span></div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno">  501</span> </div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno">  507</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_NONE  0</span></div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno">  508</span> </div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno">  510</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_TOOL_PROVIDED  1</span></div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno">  511</span> </div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno">  513</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_TSC  </span><span class="comment">/* RDTSC on x86, CNTVCT on ARM */</span><span class="preprocessor"> 10</span></div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno">  514</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_TSC_NONVIRTUALIZED </span><span class="comment">/* CNTPCT on ARM */</span><span class="preprocessor"> 11</span></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_REALTIME                 12</span></div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_REALTIME_COARSE          13</span></div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno">  517</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_MONOTONIC                14</span></div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno">  518</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_MONOTONIC_RAW            15</span></div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno">  519</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_MONOTONIC_COARSE         16</span></div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno">  520</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_BOOTTIME                 17</span></div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_PROCESS_CPUTIME_ID       18</span></div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPU_CLOCK_GETTIME_THREAD_CPUTIME_ID        19</span></div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno">  523</span> </div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno">  524</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_WIN_QPC      30</span></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno">  525</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_WIN_GSTAFT   31</span></div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno">  526</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_WIN_GSTAFTP  32</span></div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno">  527</span> </div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno">  528</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_C_TIME          40</span></div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno">  529</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_C_CLOCK         41</span></div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno">  530</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_C_TIMESPEC_GET  42</span></div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno">  531</span> </div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno">  532</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_STEADY_CLOCK           50</span></div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno">  533</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_HIGH_RESOLUTION_CLOCK  51</span></div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno">  534</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_SYSTEM_CLOCK           52</span></div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno">  535</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_UTC_CLOCK              53</span></div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno">  536</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_TAI_CLOCK              54</span></div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno">  537</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_GPS_CLOCK              55</span></div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno">  538</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_CPP_FILE_CLOCK             56</span></div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno">  539</span> </div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno">  541</span><span class="preprocessor">#define NVTX_TIMESTAMP_TYPE_GPU_GLOBALTIMER  80 </span><span class="comment">/* e.g. PTIMER */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno">  542</span> </div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno">  544</span><span class="preprocessor">#define NVTX_TIME_DOMAIN_ID_NONE 0</span></div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span> </div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno">  547</span><span class="preprocessor">#define NVTX_TIME_DOMAIN_ID_STATIC_START  (1 &lt;&lt; 24)</span></div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno">  548</span> </div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno">  549</span><span class="comment">/* Dynamically (tool) generated time domain IDs */</span></div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno">  550</span><span class="preprocessor">#define NVTX_TIME_DOMAIN_ID_DYNAMIC_START (NVTX_STATIC_CAST(uint64_t, 1) &lt;&lt; 32)</span></div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno">  551</span> </div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno">  553</span><span class="preprocessor">#define NVTX_TIMER_FLAG_NONE             0</span></div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno">  554</span><span class="preprocessor">#define NVTX_TIMER_FLAG_CLOCK_MONOTONIC  (1 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno">  555</span><span class="preprocessor">#define NVTX_TIMER_FLAG_CLOCK_STEADY     (1 &lt;&lt; 2)</span></div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno">  556</span> </div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno">  558</span><span class="preprocessor">#define NVTX_TIMER_START_UNKNOWN         0</span></div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno">  559</span><span class="preprocessor">#define NVTX_TIMER_START_SYSTEM_BOOT     1</span></div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno">  560</span><span class="preprocessor">#define NVTX_TIMER_START_VM_BOOT         2</span></div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno">  561</span><span class="preprocessor">#define NVTX_TIMER_START_UNIX_EPOCH      3 </span><span class="comment">/* 1 January 1970 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno">  562</span><span class="preprocessor">#define NVTX_TIMER_START_WIN_FILETIME    4 </span><span class="comment">/* 1 January 1601 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno">  563</span> </div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno">  568</span><span class="preprocessor">#define NVTX_TIMER_SOURCE_SAFE_CALL_AFTER_PROCESS_TEARDOWN   0</span></div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno">  569</span><span class="preprocessor">#define NVTX_TIMER_SOURCE_UNSAFE_CALL_AFTER_PROCESS_TEARDOWN 1</span></div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno">  570</span> </div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno">  571</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_TIME_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno">  572</span> </div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno">  573</span><span class="preprocessor">#ifndef NVTX_BATCH_FLAGS_V1</span></div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno">  574</span><span class="preprocessor">#define NVTX_BATCH_FLAGS_V1</span></div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno">  575</span> </div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno">  581</span><span class="preprocessor">#define NVTX_BATCH_FLAG_TIME_SORTED            0</span></div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno">  582</span><span class="preprocessor">#define NVTX_BATCH_FLAG_TIME_SORTED_PARTIALLY  (1 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno">  583</span><span class="preprocessor">#define NVTX_BATCH_FLAG_TIME_SORTED_PER_SCOPE  (2 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno">  584</span><span class="preprocessor">#define NVTX_BATCH_FLAG_UNSORTED               (3 &lt;&lt; 1)</span></div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno">  585</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno">  586</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_BATCH_FLAGS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno">  587</span> </div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno">  588</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno">  589</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno">  590</span><span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno">  591</span> </div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno">  592</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_TYPEDEFS_V1</span></div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno">  593</span><span class="preprocessor">#define NVTX_PAYLOAD_TYPEDEFS_V1</span></div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno">  594</span> </div>
<div class="foldopen" id="foldopen00602" data-start="{" data-end="};">
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"><a class="line" href="structnvtx_payload_entry_type_info__t.html">  602</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxPayloadEntryTypeInfo_v1</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno">  603</span>{</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span>    uint16_t size;</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno">  605</span>    uint16_t align;</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno">  606</span>} <a class="code hl_struct" href="structnvtx_payload_entry_type_info__t.html">nvtxPayloadEntryTypeInfo_t</a>;</div>
</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno">  607</span> </div>
<div class="foldopen" id="foldopen00624" data-start="{" data-end="};">
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"><a class="line" href="structnvtx_payload_data__t.html">  624</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxPayloadData_v1</div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno">  625</span>{</div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"><a class="line" href="structnvtx_payload_data__t.html#acc85b71f0d3a63e54ebc779f48df8309">  629</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_payload_data__t.html#acc85b71f0d3a63e54ebc779f48df8309">schemaId</a>;</div>
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno">  630</span> </div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"><a class="line" href="structnvtx_payload_data__t.html#ad0f0648c8ec5854b2cda3aa6e2f5dae5">  635</a></span>    <span class="keywordtype">size_t</span>      <a class="code hl_variable" href="structnvtx_payload_data__t.html#ad0f0648c8ec5854b2cda3aa6e2f5dae5">size</a>;</div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno">  636</span> </div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"><a class="line" href="structnvtx_payload_data__t.html#ad4ecf00bae9cf3ccd26b75b20cc38019">  640</a></span>    <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="structnvtx_payload_data__t.html#ad4ecf00bae9cf3ccd26b75b20cc38019">payload</a>;</div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno">  641</span>} <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>;</div>
</div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno">  642</span> </div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno">  643</span> </div>
<div class="foldopen" id="foldopen00651" data-start="{" data-end="};">
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"><a class="line" href="structnvtx_semantics_header__t.html">  651</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxSemanticsHeader_v1</div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno">  652</span>{</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno">  653</span>    uint32_t structSize; </div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"><a class="line" href="structnvtx_semantics_header__t.html#ad1e09c81ba70c0678b398808b23133ca">  654</a></span>    uint16_t <a class="code hl_variable" href="structnvtx_semantics_header__t.html#ad1e09c81ba70c0678b398808b23133ca">semanticId</a>;</div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno">  655</span>    uint16_t version;</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno">  656</span>    <span class="keyword">const</span> <span class="keyword">struct </span>nvtxSemanticsHeader_v1* next; </div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno">  657</span>    <span class="comment">/* Additional fields are defined by the specific semantic extension. */</span></div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno">  658</span>} <a class="code hl_struct" href="structnvtx_semantics_header__t.html">nvtxSemanticsHeader_t</a>;</div>
</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno">  659</span> </div>
<div class="foldopen" id="foldopen00675" data-start="{" data-end="};">
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html">  675</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxPayloadSchemaEntry_v1</div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno">  676</span>{</div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#ae9d93cd49514b16ffa11d4ae6bcc1da7">  683</a></span>    uint64_t       <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#ae9d93cd49514b16ffa11d4ae6bcc1da7">flags</a>;</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno">  684</span> </div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#a4c30462422da86de1abeedcef07dd541">  691</a></span>    uint64_t       <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#a4c30462422da86de1abeedcef07dd541">type</a>;</div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno">  692</span> </div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#a98a3b003669edb0daf1a2b4f9a71fa59">  698</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>*    <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#a98a3b003669edb0daf1a2b4f9a71fa59">name</a>;</div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno">  699</span> </div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#a6ed4f95ea65ef1bb2ccbdc8c7fb218e0">  705</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>*    <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#a6ed4f95ea65ef1bb2ccbdc8c7fb218e0">description</a>;</div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno">  706</span> </div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#a187c1291da112ded29e1275700e3dabd">  724</a></span>    uint64_t       <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#a187c1291da112ded29e1275700e3dabd">arrayOrUnionDetail</a>;</div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno">  725</span> </div>
<div class="line"><a id="l00739" name="l00739"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#a6a550470ce91d70e4207583b5f04df7e">  739</a></span>    uint64_t       <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#a6a550470ce91d70e4207583b5f04df7e">offset</a>;</div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno">  740</span> </div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#a71ddd016470557793d6776781b7c8406">  747</a></span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_semantics_header__t.html">nvtxSemanticsHeader_t</a>* <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#a71ddd016470557793d6776781b7c8406">semantics</a>;</div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno">  748</span> </div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_entry__t.html#ae8091f5c48af11c8de5353fa4a949d84">  752</a></span>    <span class="keyword">const</span> <span class="keywordtype">void</span>*    <a class="code hl_variable" href="structnvtx_payload_schema_entry__t.html#ae8091f5c48af11c8de5353fa4a949d84">reserved</a>;</div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno">  753</span>} <a class="code hl_struct" href="structnvtx_payload_schema_entry__t.html">nvtxPayloadSchemaEntry_t</a>;</div>
</div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno">  754</span> </div>
<div class="foldopen" id="foldopen00758" data-start="{" data-end="};">
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html">  758</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxPayloadSchemaAttr_v1</div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span>{</div>
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#ad7f767a3d434cd4f55e9924573f3544b">  765</a></span>    uint64_t                        <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#ad7f767a3d434cd4f55e9924573f3544b">fieldMask</a>;</div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno">  766</span> </div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#aba69f3fad4cd1b2e5b129019b1695422">  770</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>*                     <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#aba69f3fad4cd1b2e5b129019b1695422">name</a>;</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno">  771</span> </div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#a10e7a9740ec894f4b153489deda077e4">  777</a></span>    uint64_t                        <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#a10e7a9740ec894f4b153489deda077e4">type</a>;</div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno">  778</span> </div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#af82f33d22722ca11731778945bc44ef6">  785</a></span>    uint64_t                        <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#af82f33d22722ca11731778945bc44ef6">flags</a>;</div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno">  786</span> </div>
<div class="line"><a id="l00793" name="l00793"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#afa128ebfebfbb3333f41d8a1161b6176">  793</a></span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_schema_entry__t.html">nvtxPayloadSchemaEntry_t</a>* <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#afa128ebfebfbb3333f41d8a1161b6176">entries</a>;</div>
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno">  794</span> </div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#afc8b55620206061decbac5eb2f3a9051">  800</a></span>    <span class="keywordtype">size_t</span>                          <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#afc8b55620206061decbac5eb2f3a9051">numEntries</a>;</div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno">  801</span> </div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#a30c5c448071bcc470f99ff3b76c29a47">  810</a></span>    <span class="keywordtype">size_t</span>                          <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#a30c5c448071bcc470f99ff3b76c29a47">payloadStaticSize</a>;</div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno">  811</span> </div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#ab7098a38ce30d775c9ce245108ff64db">  819</a></span>    <span class="keywordtype">size_t</span>                          <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#ab7098a38ce30d775c9ce245108ff64db">packAlign</a>;</div>
<div class="line"><a id="l00820" name="l00820"></a><span class="lineno">  820</span> </div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#ae1fb939b70bec88c7702d6688ae657fc">  826</a></span>    uint64_t                        <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#ae1fb939b70bec88c7702d6688ae657fc">schemaId</a>;</div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno">  827</span> </div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno"><a class="line" href="structnvtx_payload_schema_attr__t.html#addb892502797acf269dc928e8614f97f">  832</a></span>    <span class="keywordtype">void</span>*                           <a class="code hl_variable" href="structnvtx_payload_schema_attr__t.html#addb892502797acf269dc928e8614f97f">extension</a>;</div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno">  833</span>} <a class="code hl_struct" href="structnvtx_payload_schema_attr__t.html">nvtxPayloadSchemaAttr_t</a>;</div>
</div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno">  834</span> </div>
<div class="foldopen" id="foldopen00846" data-start="{" data-end="};">
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum__t.html">  846</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxPayloadEnum_v1</div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno">  847</span>{</div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum__t.html#a66c39fea8c22778c517d4f22671fff73">  851</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structnvtx_payload_enum__t.html#a66c39fea8c22778c517d4f22671fff73">name</a>;</div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno">  852</span> </div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum__t.html#a4ab5b494f0c14b54ca9de2c3477ea36f">  856</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_payload_enum__t.html#a4ab5b494f0c14b54ca9de2c3477ea36f">value</a>;</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno">  857</span> </div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum__t.html#ae90cfd1bac263d55dfda3e3deab1749a">  862</a></span>    int8_t      <a class="code hl_variable" href="structnvtx_payload_enum__t.html#ae90cfd1bac263d55dfda3e3deab1749a">isFlag</a>;</div>
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno">  863</span>} <a class="code hl_struct" href="structnvtx_payload_enum__t.html">nvtxPayloadEnum_t</a>;</div>
</div>
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno">  864</span> </div>
<div class="foldopen" id="foldopen00870" data-start="{" data-end="};">
<div class="line"><a id="l00870" name="l00870"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html">  870</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxPayloadEnumAttr_v1</div>
<div class="line"><a id="l00871" name="l00871"></a><span class="lineno">  871</span>{</div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#a3210b1a35c305aaef946803cc1ac1317">  875</a></span>    uint64_t                 <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#a3210b1a35c305aaef946803cc1ac1317">fieldMask</a>;</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno">  876</span> </div>
<div class="line"><a id="l00880" name="l00880"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#a5731ed1f823e0ff0aac3eeea68c8a6d5">  880</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>*              <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#a5731ed1f823e0ff0aac3eeea68c8a6d5">name</a>;</div>
<div class="line"><a id="l00881" name="l00881"></a><span class="lineno">  881</span> </div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#a2a81abd10a27f81936c78cdafe5a7ab8">  885</a></span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_enum__t.html">nvtxPayloadEnum_t</a>* <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#a2a81abd10a27f81936c78cdafe5a7ab8">entries</a>;</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno">  886</span> </div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#a011b55b330f17b2e64157c169fad3880">  890</a></span>    <span class="keywordtype">size_t</span>                   <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#a011b55b330f17b2e64157c169fad3880">numEntries</a>;</div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno">  891</span> </div>
<div class="line"><a id="l00895" name="l00895"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#a12b15187dd2515a895935a767dfbaac0">  895</a></span>    <span class="keywordtype">size_t</span>                   <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#a12b15187dd2515a895935a767dfbaac0">sizeOfEnum</a>;</div>
<div class="line"><a id="l00896" name="l00896"></a><span class="lineno">  896</span> </div>
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#ac51da0682943b6a5b4fa12365d7f81d4">  902</a></span>    uint64_t                 <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#ac51da0682943b6a5b4fa12365d7f81d4">schemaId</a>;</div>
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno">  903</span> </div>
<div class="line"><a id="l00908" name="l00908"></a><span class="lineno"><a class="line" href="structnvtx_payload_enum_attr__t.html#a31e43f2fd232fe218a8810ca2367906f">  908</a></span>    <span class="keywordtype">void</span>*                    <a class="code hl_variable" href="structnvtx_payload_enum_attr__t.html#a31e43f2fd232fe218a8810ca2367906f">extension</a>;</div>
<div class="line"><a id="l00909" name="l00909"></a><span class="lineno">  909</span>} <a class="code hl_struct" href="structnvtx_payload_enum_attr__t.html">nvtxPayloadEnumAttr_t</a>;</div>
</div>
<div class="line"><a id="l00910" name="l00910"></a><span class="lineno">  910</span> </div>
<div class="foldopen" id="foldopen00911" data-start="{" data-end="};">
<div class="line"><a id="l00911" name="l00911"></a><span class="lineno"><a class="line" href="structnvtx_scope_attr__t.html">  911</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxScopeAttr_v1</div>
<div class="line"><a id="l00912" name="l00912"></a><span class="lineno">  912</span>{</div>
<div class="line"><a id="l00913" name="l00913"></a><span class="lineno">  913</span>    <span class="keywordtype">size_t</span>      structSize;</div>
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span> </div>
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno"><a class="line" href="structnvtx_scope_attr__t.html#af4db5037a7c7970861688d47db6c0f2a">  931</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structnvtx_scope_attr__t.html#af4db5037a7c7970861688d47db6c0f2a">path</a>;</div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno">  932</span> </div>
<div class="line"><a id="l00934" name="l00934"></a><span class="lineno"><a class="line" href="structnvtx_scope_attr__t.html#a48eeeed47ef503c114af84c40d39ef98">  934</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_scope_attr__t.html#a48eeeed47ef503c114af84c40d39ef98">parentScope</a>;</div>
<div class="line"><a id="l00935" name="l00935"></a><span class="lineno">  935</span> </div>
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno"><a class="line" href="structnvtx_scope_attr__t.html#aca9b5b78f0557ccf9c009ce797f9fe87">  941</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_scope_attr__t.html#aca9b5b78f0557ccf9c009ce797f9fe87">scopeId</a>;</div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno">  942</span>} <a class="code hl_struct" href="structnvtx_scope_attr__t.html">nvtxScopeAttr_t</a>;</div>
</div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno">  943</span> </div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno">  944</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_TYPEDEFS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno">  945</span> </div>
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno">  946</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_TYPEDEFS_DEFERRED_V1</span></div>
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno">  947</span><span class="preprocessor">#define NVTX_PAYLOAD_TYPEDEFS_DEFERRED_V1</span></div>
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno">  948</span> </div>
<div class="foldopen" id="foldopen00950" data-start="{" data-end="};">
<div class="line"><a id="l00950" name="l00950"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html">  950</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxTimeDomainAttr_v1</div>
<div class="line"><a id="l00951" name="l00951"></a><span class="lineno">  951</span>{</div>
<div class="line"><a id="l00953" name="l00953"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html#a5285d2fa1096393a6e77598845265544">  953</a></span>    uint64_t <a class="code hl_variable" href="structnvtx_time_domain_attr__t.html#a5285d2fa1096393a6e77598845265544">scopeId</a>;</div>
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno">  954</span> </div>
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html#a8f591ca10a043d6ea21f70f1718cfd08">  956</a></span>    uint64_t <a class="code hl_variable" href="structnvtx_time_domain_attr__t.html#a8f591ca10a043d6ea21f70f1718cfd08">timestampTypeId</a>;</div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno">  957</span> </div>
<div class="line"><a id="l00963" name="l00963"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html#a37c03a5bfa70f3d6189f7e4d93628105">  963</a></span>    uint64_t <a class="code hl_variable" href="structnvtx_time_domain_attr__t.html#a37c03a5bfa70f3d6189f7e4d93628105">timeDomainId</a>;</div>
<div class="line"><a id="l00964" name="l00964"></a><span class="lineno">  964</span> </div>
<div class="line"><a id="l00966" name="l00966"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html#af3b24e72a656a74bc193ad5149939c10">  966</a></span>    uint64_t <a class="code hl_variable" href="structnvtx_time_domain_attr__t.html#af3b24e72a656a74bc193ad5149939c10">timerFlags</a>;</div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno">  967</span> </div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html#acfe8945f6ca8b09d34016e0b45a9c00c">  969</a></span>    int64_t  <a class="code hl_variable" href="structnvtx_time_domain_attr__t.html#acfe8945f6ca8b09d34016e0b45a9c00c">timerResolution</a>;</div>
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno">  970</span> </div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno"><a class="line" href="structnvtx_time_domain_attr__t.html#ac2e5df710e17c9f6b0d2ccf2c22537d9">  972</a></span>    uint64_t <a class="code hl_variable" href="structnvtx_time_domain_attr__t.html#ac2e5df710e17c9f6b0d2ccf2c22537d9">timerStart</a>;</div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno">  973</span>} <a class="code hl_struct" href="structnvtx_time_domain_attr__t.html">nvtxTimeDomainAttr_t</a>;</div>
</div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno">  974</span> </div>
<div class="foldopen" id="foldopen00976" data-start="{" data-end="};">
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno"><a class="line" href="structnvtx_sync_point__t.html">  976</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxSyncPoint_v1</div>
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno">  977</span>{</div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno">  978</span>    int64_t src;</div>
<div class="line"><a id="l00979" name="l00979"></a><span class="lineno">  979</span>    int64_t dst;</div>
<div class="line"><a id="l00980" name="l00980"></a><span class="lineno">  980</span>} <a class="code hl_struct" href="structnvtx_sync_point__t.html">nvtxSyncPoint_t</a>;</div>
</div>
<div class="line"><a id="l00981" name="l00981"></a><span class="lineno">  981</span> </div>
<div class="foldopen" id="foldopen00989" data-start="{" data-end="};">
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html">  989</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>nvtxEventBatch_v1</div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno">  990</span>{</div>
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#ab94294d1b1bb900a008c2029db2967d1">  998</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_event_batch__t.html#ab94294d1b1bb900a008c2029db2967d1">eventSchemaId</a>;</div>
<div class="line"><a id="l00999" name="l00999"></a><span class="lineno">  999</span> </div>
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#afee23a8f0781cbe9483293172bd2ce07"> 1001</a></span>    <span class="keywordtype">size_t</span>      <a class="code hl_variable" href="structnvtx_event_batch__t.html#afee23a8f0781cbe9483293172bd2ce07">size</a>;</div>
<div class="line"><a id="l01002" name="l01002"></a><span class="lineno"> 1002</span> </div>
<div class="line"><a id="l01004" name="l01004"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#aee58560a3adfde054f0245301cf8d7d4"> 1004</a></span>    <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="structnvtx_event_batch__t.html#aee58560a3adfde054f0245301cf8d7d4">events</a>;</div>
<div class="line"><a id="l01005" name="l01005"></a><span class="lineno"> 1005</span> </div>
<div class="line"><a id="l01007" name="l01007"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#a2ba91014d2831e199e4b3e38b388c181"> 1007</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_event_batch__t.html#a2ba91014d2831e199e4b3e38b388c181">scope</a>;</div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span> </div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#a12f16213083385276b9cc080100b5197"> 1010</a></span>    uint64_t    <a class="code hl_variable" href="structnvtx_event_batch__t.html#a12f16213083385276b9cc080100b5197">flags</a>;</div>
<div class="line"><a id="l01011" name="l01011"></a><span class="lineno"> 1011</span> </div>
<div class="line"><a id="l01013" name="l01013"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#af4676ad232d7e62ab7a9aeaceb598429"> 1013</a></span>    <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="structnvtx_event_batch__t.html#af4676ad232d7e62ab7a9aeaceb598429">flexData</a>;</div>
<div class="line"><a id="l01014" name="l01014"></a><span class="lineno"> 1014</span> </div>
<div class="line"><a id="l01016" name="l01016"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#a6bed0017d4177f4bbbb6dac5ec70bafb"> 1016</a></span>    <span class="keywordtype">size_t</span>      <a class="code hl_variable" href="structnvtx_event_batch__t.html#a6bed0017d4177f4bbbb6dac5ec70bafb">flexDataSize</a>;</div>
<div class="line"><a id="l01017" name="l01017"></a><span class="lineno"> 1017</span> </div>
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"><a class="line" href="structnvtx_event_batch__t.html#a029e6d18671052add9f6d94aaa6bf379"> 1022</a></span>    <span class="keywordtype">size_t</span>      <a class="code hl_variable" href="structnvtx_event_batch__t.html#a029e6d18671052add9f6d94aaa6bf379">flexDataOffset</a>;</div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</span>} <a class="code hl_struct" href="structnvtx_event_batch__t.html">nvtxEventBatch_t</a>;</div>
</div>
<div class="line"><a id="l01024" name="l01024"></a><span class="lineno"> 1024</span> </div>
<div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_TYPEDEFS_DEFERRED_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01026" name="l01026"></a><span class="lineno"> 1026</span> </div>
<div class="line"><a id="l01027" name="l01027"></a><span class="lineno"> 1027</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_API_FUNCTIONS_V1</span></div>
<div class="line"><a id="l01028" name="l01028"></a><span class="lineno"> 1028</span><span class="preprocessor">#define NVTX_PAYLOAD_API_FUNCTIONS_V1</span></div>
<div class="line"><a id="l01029" name="l01029"></a><span class="lineno"> 1029</span> </div>
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"> 1036</span>NVTX_DECLSPEC uint64_t NVTX_API nvtxPayloadSchemaRegister(</div>
<div class="line"><a id="l01037" name="l01037"></a><span class="lineno"> 1037</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01038" name="l01038"></a><span class="lineno"> 1038</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_schema_attr__t.html">nvtxPayloadSchemaAttr_t</a>* attr);</div>
<div class="line"><a id="l01039" name="l01039"></a><span class="lineno"> 1039</span> </div>
<div class="line"><a id="l01046" name="l01046"></a><span class="lineno"> 1046</span>NVTX_DECLSPEC uint64_t NVTX_API nvtxPayloadEnumRegister(</div>
<div class="line"><a id="l01047" name="l01047"></a><span class="lineno"> 1047</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01048" name="l01048"></a><span class="lineno"> 1048</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_enum_attr__t.html">nvtxPayloadEnumAttr_t</a>* attr);</div>
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"> 1049</span> </div>
<div class="line"><a id="l01059" name="l01059"></a><span class="lineno"> 1059</span>NVTX_DECLSPEC uint64_t NVTX_API nvtxScopeRegister(</div>
<div class="line"><a id="l01060" name="l01060"></a><span class="lineno"> 1060</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01061" name="l01061"></a><span class="lineno"> 1061</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_scope_attr__t.html">nvtxScopeAttr_t</a>* attr);</div>
<div class="line"><a id="l01062" name="l01062"></a><span class="lineno"> 1062</span> </div>
<div class="line"><a id="l01074" name="l01074"></a><span class="lineno"> 1074</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxMarkPayload(</div>
<div class="line"><a id="l01075" name="l01075"></a><span class="lineno"> 1075</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01076" name="l01076"></a><span class="lineno"> 1076</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>* payloadData,</div>
<div class="line"><a id="l01077" name="l01077"></a><span class="lineno"> 1077</span>    <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"> 1078</span> </div>
<div class="line"><a id="l01090" name="l01090"></a><span class="lineno"> 1090</span>NVTX_DECLSPEC <span class="keywordtype">int</span> NVTX_API nvtxRangePushPayload(</div>
<div class="line"><a id="l01091" name="l01091"></a><span class="lineno"> 1091</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01092" name="l01092"></a><span class="lineno"> 1092</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>* payloadData,</div>
<div class="line"><a id="l01093" name="l01093"></a><span class="lineno"> 1093</span>    <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a id="l01094" name="l01094"></a><span class="lineno"> 1094</span> </div>
<div class="line"><a id="l01109" name="l01109"></a><span class="lineno"> 1109</span>NVTX_DECLSPEC <span class="keywordtype">int</span> NVTX_API nvtxRangePopPayload(</div>
<div class="line"><a id="l01110" name="l01110"></a><span class="lineno"> 1110</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01111" name="l01111"></a><span class="lineno"> 1111</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>* payloadData,</div>
<div class="line"><a id="l01112" name="l01112"></a><span class="lineno"> 1112</span>    <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a id="l01113" name="l01113"></a><span class="lineno"> 1113</span> </div>
<div class="line"><a id="l01124" name="l01124"></a><span class="lineno"> 1124</span>NVTX_DECLSPEC nvtxRangeId_t NVTX_API nvtxRangeStartPayload(</div>
<div class="line"><a id="l01125" name="l01125"></a><span class="lineno"> 1125</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01126" name="l01126"></a><span class="lineno"> 1126</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>* payloadData,</div>
<div class="line"><a id="l01127" name="l01127"></a><span class="lineno"> 1127</span>    <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a id="l01128" name="l01128"></a><span class="lineno"> 1128</span> </div>
<div class="line"><a id="l01141" name="l01141"></a><span class="lineno"> 1141</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxRangeEndPayload(</div>
<div class="line"><a id="l01142" name="l01142"></a><span class="lineno"> 1142</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01143" name="l01143"></a><span class="lineno"> 1143</span>    nvtxRangeId_t <span class="keywordtype">id</span>,</div>
<div class="line"><a id="l01144" name="l01144"></a><span class="lineno"> 1144</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>* payloadData,</div>
<div class="line"><a id="l01145" name="l01145"></a><span class="lineno"> 1145</span>    <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a id="l01146" name="l01146"></a><span class="lineno"> 1146</span> </div>
<div class="line"><a id="l01153" name="l01153"></a><span class="lineno"> 1153</span>NVTX_DECLSPEC uint8_t NVTX_API nvtxDomainIsEnabled(</div>
<div class="line"><a id="l01154" name="l01154"></a><span class="lineno"> 1154</span>    nvtxDomainHandle_t domain);</div>
<div class="line"><a id="l01155" name="l01155"></a><span class="lineno"> 1155</span> </div>
<div class="line"><a id="l01156" name="l01156"></a><span class="lineno"> 1156</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_API_FUNCTIONS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01157" name="l01157"></a><span class="lineno"> 1157</span> </div>
<div class="line"><a id="l01158" name="l01158"></a><span class="lineno"> 1158</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_API_FUNCTIONS_DEFERRED_V1</span></div>
<div class="line"><a id="l01159" name="l01159"></a><span class="lineno"> 1159</span><span class="preprocessor">#define NVTX_PAYLOAD_API_FUNCTIONS_DEFERRED_V1</span></div>
<div class="line"><a id="l01160" name="l01160"></a><span class="lineno"> 1160</span> </div>
<div class="line"><a id="l01166" name="l01166"></a><span class="lineno"> 1166</span>NVTX_DECLSPEC int64_t NVTX_API nvtxTimestampGet(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l01167" name="l01167"></a><span class="lineno"> 1167</span> </div>
<div class="line"><a id="l01177" name="l01177"></a><span class="lineno"> 1177</span>NVTX_DECLSPEC uint64_t NVTX_API nvtxTimeDomainRegister(</div>
<div class="line"><a id="l01178" name="l01178"></a><span class="lineno"> 1178</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01179" name="l01179"></a><span class="lineno"> 1179</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_time_domain_attr__t.html">nvtxTimeDomainAttr_t</a>* timeAttr);</div>
<div class="line"><a id="l01180" name="l01180"></a><span class="lineno"> 1180</span> </div>
<div class="line"><a id="l01192" name="l01192"></a><span class="lineno"> 1192</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxTimerSource(</div>
<div class="line"><a id="l01193" name="l01193"></a><span class="lineno"> 1193</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01194" name="l01194"></a><span class="lineno"> 1194</span>    uint64_t timeDomainId,</div>
<div class="line"><a id="l01195" name="l01195"></a><span class="lineno"> 1195</span>    uint64_t flags,</div>
<div class="line"><a id="l01196" name="l01196"></a><span class="lineno"> 1196</span>    int64_t (*timestampProviderFn)(<span class="keywordtype">void</span>));</div>
<div class="line"><a id="l01197" name="l01197"></a><span class="lineno"> 1197</span> </div>
<div class="line"><a id="l01209" name="l01209"></a><span class="lineno"> 1209</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxTimerSourceWithData(</div>
<div class="line"><a id="l01210" name="l01210"></a><span class="lineno"> 1210</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01211" name="l01211"></a><span class="lineno"> 1211</span>    uint64_t timeDomainId,</div>
<div class="line"><a id="l01212" name="l01212"></a><span class="lineno"> 1212</span>    uint64_t flags,</div>
<div class="line"><a id="l01213" name="l01213"></a><span class="lineno"> 1213</span>    int64_t (*timestampProviderFn)(<span class="keywordtype">void</span>* data),</div>
<div class="line"><a id="l01214" name="l01214"></a><span class="lineno"> 1214</span>    <span class="keywordtype">void</span>* data);</div>
<div class="line"><a id="l01215" name="l01215"></a><span class="lineno"> 1215</span> </div>
<div class="line"><a id="l01230" name="l01230"></a><span class="lineno"> 1230</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxTimeSyncPoint(</div>
<div class="line"><a id="l01231" name="l01231"></a><span class="lineno"> 1231</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01232" name="l01232"></a><span class="lineno"> 1232</span>    uint64_t timeDomainId1,</div>
<div class="line"><a id="l01233" name="l01233"></a><span class="lineno"> 1233</span>    uint64_t timeDomainId2,</div>
<div class="line"><a id="l01234" name="l01234"></a><span class="lineno"> 1234</span>    int64_t timestamp1,</div>
<div class="line"><a id="l01235" name="l01235"></a><span class="lineno"> 1235</span>    int64_t timestamp2);</div>
<div class="line"><a id="l01236" name="l01236"></a><span class="lineno"> 1236</span> </div>
<div class="line"><a id="l01248" name="l01248"></a><span class="lineno"> 1248</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxTimeSyncPointTable(</div>
<div class="line"><a id="l01249" name="l01249"></a><span class="lineno"> 1249</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01250" name="l01250"></a><span class="lineno"> 1250</span>    uint64_t timeDomainIdSrc,</div>
<div class="line"><a id="l01251" name="l01251"></a><span class="lineno"> 1251</span>    uint64_t timeDomainIdDst,</div>
<div class="line"><a id="l01252" name="l01252"></a><span class="lineno"> 1252</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_sync_point__t.html">nvtxSyncPoint_t</a>* syncPoints,</div>
<div class="line"><a id="l01253" name="l01253"></a><span class="lineno"> 1253</span>    <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a id="l01254" name="l01254"></a><span class="lineno"> 1254</span> </div>
<div class="line"><a id="l01267" name="l01267"></a><span class="lineno"> 1267</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxTimestampConversionFactor(</div>
<div class="line"><a id="l01268" name="l01268"></a><span class="lineno"> 1268</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01269" name="l01269"></a><span class="lineno"> 1269</span>    uint64_t timeDomainIdSrc,</div>
<div class="line"><a id="l01270" name="l01270"></a><span class="lineno"> 1270</span>    uint64_t timeDomainIdDst,</div>
<div class="line"><a id="l01271" name="l01271"></a><span class="lineno"> 1271</span>    <span class="keywordtype">double</span> slope,</div>
<div class="line"><a id="l01272" name="l01272"></a><span class="lineno"> 1272</span>    int64_t timestampSrc,</div>
<div class="line"><a id="l01273" name="l01273"></a><span class="lineno"> 1273</span>    int64_t timestampDst);</div>
<div class="line"><a id="l01274" name="l01274"></a><span class="lineno"> 1274</span> </div>
<div class="line"><a id="l01282" name="l01282"></a><span class="lineno"> 1282</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxEventSubmit(</div>
<div class="line"><a id="l01283" name="l01283"></a><span class="lineno"> 1283</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01284" name="l01284"></a><span class="lineno"> 1284</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a>* payloadData,</div>
<div class="line"><a id="l01285" name="l01285"></a><span class="lineno"> 1285</span>    <span class="keywordtype">size_t</span> numPayloads);</div>
<div class="line"><a id="l01286" name="l01286"></a><span class="lineno"> 1286</span> </div>
<div class="line"><a id="l01293" name="l01293"></a><span class="lineno"> 1293</span>NVTX_DECLSPEC <span class="keywordtype">void</span> NVTX_API nvtxEventBatchSubmit(</div>
<div class="line"><a id="l01294" name="l01294"></a><span class="lineno"> 1294</span>    nvtxDomainHandle_t domain,</div>
<div class="line"><a id="l01295" name="l01295"></a><span class="lineno"> 1295</span>    <span class="keyword">const</span> <a class="code hl_struct" href="structnvtx_event_batch__t.html">nvtxEventBatch_t</a>* eventBatch);</div>
<div class="line"><a id="l01296" name="l01296"></a><span class="lineno"> 1296</span> </div>
<div class="line"><a id="l01297" name="l01297"></a><span class="lineno"> 1297</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_API_FUNCTIONS_DEFERRED_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01298" name="l01298"></a><span class="lineno"> 1298</span> </div>
<div class="line"><a id="l01310" name="l01310"></a><span class="lineno"> 1310</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_CALLBACK_ID_V1</span></div>
<div class="line"><a id="l01311" name="l01311"></a><span class="lineno"> 1311</span><span class="preprocessor">#define NVTX_PAYLOAD_CALLBACK_ID_V1</span></div>
<div class="line"><a id="l01312" name="l01312"></a><span class="lineno"> 1312</span> </div>
<div class="line"><a id="l01313" name="l01313"></a><span class="lineno"> 1313</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxPayloadSchemaRegister      0</span></div>
<div class="line"><a id="l01314" name="l01314"></a><span class="lineno"> 1314</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxPayloadEnumRegister        1</span></div>
<div class="line"><a id="l01315" name="l01315"></a><span class="lineno"> 1315</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxMarkPayload                2</span></div>
<div class="line"><a id="l01316" name="l01316"></a><span class="lineno"> 1316</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxRangePushPayload           3</span></div>
<div class="line"><a id="l01317" name="l01317"></a><span class="lineno"> 1317</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxRangePopPayload            4</span></div>
<div class="line"><a id="l01318" name="l01318"></a><span class="lineno"> 1318</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxRangeStartPayload          5</span></div>
<div class="line"><a id="l01319" name="l01319"></a><span class="lineno"> 1319</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxRangeEndPayload            6</span></div>
<div class="line"><a id="l01320" name="l01320"></a><span class="lineno"> 1320</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxDomainIsEnabled            7</span></div>
<div class="line"><a id="l01321" name="l01321"></a><span class="lineno"> 1321</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxScopeRegister             12</span></div>
<div class="line"><a id="l01322" name="l01322"></a><span class="lineno"> 1322</span> </div>
<div class="line"><a id="l01323" name="l01323"></a><span class="lineno"> 1323</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_CALLBACK_ID_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01324" name="l01324"></a><span class="lineno"> 1324</span> </div>
<div class="line"><a id="l01325" name="l01325"></a><span class="lineno"> 1325</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_CALLBACK_ID_DEFERRED_V1</span></div>
<div class="line"><a id="l01326" name="l01326"></a><span class="lineno"> 1326</span><span class="preprocessor">#define NVTX_PAYLOAD_CALLBACK_ID_DEFERRED_V1</span></div>
<div class="line"><a id="l01327" name="l01327"></a><span class="lineno"> 1327</span> </div>
<div class="line"><a id="l01328" name="l01328"></a><span class="lineno"> 1328</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimestampGet               8</span></div>
<div class="line"><a id="l01329" name="l01329"></a><span class="lineno"> 1329</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimeDomainRegister         9</span></div>
<div class="line"><a id="l01330" name="l01330"></a><span class="lineno"> 1330</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimerSource               10</span></div>
<div class="line"><a id="l01331" name="l01331"></a><span class="lineno"> 1331</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimerSourceWithData       11</span></div>
<div class="line"><a id="l01332" name="l01332"></a><span class="lineno"> 1332</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimeSyncPoint             13</span></div>
<div class="line"><a id="l01333" name="l01333"></a><span class="lineno"> 1333</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimeSyncPointTable        14</span></div>
<div class="line"><a id="l01334" name="l01334"></a><span class="lineno"> 1334</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxTimestampConversionFactor 15</span></div>
<div class="line"><a id="l01335" name="l01335"></a><span class="lineno"> 1335</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxEventSubmit               16</span></div>
<div class="line"><a id="l01336" name="l01336"></a><span class="lineno"> 1336</span><span class="preprocessor">#define NVTX3EXT_CBID_nvtxEventBatchSubmit          17</span></div>
<div class="line"><a id="l01337" name="l01337"></a><span class="lineno"> 1337</span> </div>
<div class="line"><a id="l01338" name="l01338"></a><span class="lineno"> 1338</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_CALLBACK_ID_DEFERRED_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01339" name="l01339"></a><span class="lineno"> 1339</span> </div>
<div class="line"><a id="l01340" name="l01340"></a><span class="lineno"> 1340</span><span class="comment">/*** Helper utilities ***/</span></div>
<div class="line"><a id="l01341" name="l01341"></a><span class="lineno"> 1341</span> </div>
<div class="line"><a id="l01343" name="l01343"></a><span class="lineno"> 1343</span><span class="preprocessor">#ifndef NVTX_POINTER_AS_PAYLOAD_ULLVALUE</span></div>
<div class="line"><a id="l01344" name="l01344"></a><span class="lineno"> 1344</span><span class="preprocessor"># ifdef __cplusplus</span></div>
<div class="line"><a id="l01345" name="l01345"></a><span class="lineno"> 1345</span><span class="preprocessor"># define NVTX_POINTER_AS_PAYLOAD_ULLVALUE(p) \</span></div>
<div class="line"><a id="l01346" name="l01346"></a><span class="lineno"> 1346</span><span class="preprocessor">    static_cast&lt;uint64_t&gt;(reinterpret_cast&lt;uintptr_t&gt;(p))</span></div>
<div class="line"><a id="l01347" name="l01347"></a><span class="lineno"> 1347</span><span class="preprocessor"># else</span></div>
<div class="line"><a id="l01348" name="l01348"></a><span class="lineno"> 1348</span><span class="preprocessor">#define NVTX_POINTER_AS_PAYLOAD_ULLVALUE(p) (NVTX_STATIC_CAST(uint64_t, NVTX_STATIC_CAST(uintptr_t, p))</span></div>
<div class="line"><a id="l01349" name="l01349"></a><span class="lineno"> 1349</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l01350" name="l01350"></a><span class="lineno"> 1350</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l01351" name="l01351"></a><span class="lineno"> 1351</span> </div>
<div class="line"><a id="l01352" name="l01352"></a><span class="lineno"> 1352</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_EVTATTR_SET_DATA</span></div>
<div class="line"><a id="l01362" name="l01362"></a><span class="lineno"> 1362</span><span class="preprocessor">#define NVTX_PAYLOAD_EVTATTR_SET_DATA(evtAttr, pldata_addr, schema_id, pl_addr, sz) \</span></div>
<div class="line"><a id="l01363" name="l01363"></a><span class="lineno"> 1363</span><span class="preprocessor">    (pldata_addr)-&gt;schemaId = schema_id; \</span></div>
<div class="line"><a id="l01364" name="l01364"></a><span class="lineno"> 1364</span><span class="preprocessor">    (pldata_addr)-&gt;size = sz; \</span></div>
<div class="line"><a id="l01365" name="l01365"></a><span class="lineno"> 1365</span><span class="preprocessor">    (pldata_addr)-&gt;payload = pl_addr; \</span></div>
<div class="line"><a id="l01366" name="l01366"></a><span class="lineno"> 1366</span><span class="preprocessor">    (evtAttr).payload.ullValue = NVTX_POINTER_AS_PAYLOAD_ULLVALUE(pldata_addr); \</span></div>
<div class="line"><a id="l01367" name="l01367"></a><span class="lineno"> 1367</span><span class="preprocessor">    (evtAttr).payloadType = NVTX_PAYLOAD_TYPE_EXT; \</span></div>
<div class="line"><a id="l01368" name="l01368"></a><span class="lineno"> 1368</span><span class="preprocessor">    (evtAttr).reserved0 = 1;</span></div>
<div class="line"><a id="l01369" name="l01369"></a><span class="lineno"> 1369</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_EVTATTR_SET_DATA */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01370" name="l01370"></a><span class="lineno"> 1370</span> </div>
<div class="line"><a id="l01371" name="l01371"></a><span class="lineno"> 1371</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_EVTATTR_SET_MULTIPLE</span></div>
<div class="line"><a id="l01378" name="l01378"></a><span class="lineno"> 1378</span><span class="preprocessor">#define NVTX_PAYLOAD_EVTATTR_SET_MULTIPLE(evtAttr, pldata) \</span></div>
<div class="line"><a id="l01379" name="l01379"></a><span class="lineno"> 1379</span><span class="preprocessor">    (evtAttr).payloadType = NVTX_PAYLOAD_TYPE_EXT; \</span></div>
<div class="line"><a id="l01380" name="l01380"></a><span class="lineno"> 1380</span><span class="preprocessor">    (evtAttr).reserved0 = sizeof(pldata)/sizeof(nvtxPayloadData_t); \</span></div>
<div class="line"><a id="l01381" name="l01381"></a><span class="lineno"> 1381</span><span class="preprocessor">    (evtAttr).payload.ullValue = NVTX_POINTER_AS_PAYLOAD_ULLVALUE(pldata);</span></div>
<div class="line"><a id="l01382" name="l01382"></a><span class="lineno"> 1382</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_EVTATTR_SET_MULTIPLE */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01383" name="l01383"></a><span class="lineno"> 1383</span> </div>
<div class="line"><a id="l01384" name="l01384"></a><span class="lineno"> 1384</span><span class="preprocessor">#ifndef NVTX_PAYLOAD_EVTATTR_SET</span></div>
<div class="line"><a id="l01385" name="l01385"></a><span class="lineno"> 1385</span><span class="comment">/*</span></div>
<div class="line"><a id="l01386" name="l01386"></a><span class="lineno"> 1386</span><span class="comment"> * Do not use this macro directly! It is a helper to attach a single payload to</span></div>
<div class="line"><a id="l01387" name="l01387"></a><span class="lineno"> 1387</span><span class="comment"> * an NVTX event attribute.</span></div>
<div class="line"><a id="l01388" name="l01388"></a><span class="lineno"> 1388</span><span class="comment"> * @warning The NVTX push, start or mark operation must not be in an outer scope.</span></div>
<div class="line"><a id="l01389" name="l01389"></a><span class="lineno"> 1389</span><span class="comment"> */</span></div>
<div class="line"><a id="l01390" name="l01390"></a><span class="lineno"> 1390</span><span class="preprocessor">#define NVTX_PAYLOAD_EVTATTR_SET(evtAttr, schema_id, pl_addr, sz) \</span></div>
<div class="line"><a id="l01391" name="l01391"></a><span class="lineno"> 1391</span><span class="preprocessor">    nvtxPayloadData_t _NVTX_PAYLOAD_DATA_VAR[] = \</span></div>
<div class="line"><a id="l01392" name="l01392"></a><span class="lineno"> 1392</span><span class="preprocessor">        {{schema_id, sz, pl_addr}}; \</span></div>
<div class="line"><a id="l01393" name="l01393"></a><span class="lineno"> 1393</span><span class="preprocessor">    (evtAttr)-&gt;payload.ullValue = \</span></div>
<div class="line"><a id="l01394" name="l01394"></a><span class="lineno"> 1394</span><span class="preprocessor">        NVTX_POINTER_AS_PAYLOAD_ULLVALUE(_NVTX_PAYLOAD_DATA_VAR); \</span></div>
<div class="line"><a id="l01395" name="l01395"></a><span class="lineno"> 1395</span><span class="preprocessor">    (evtAttr)-&gt;payloadType = NVTX_PAYLOAD_TYPE_EXT; \</span></div>
<div class="line"><a id="l01396" name="l01396"></a><span class="lineno"> 1396</span><span class="preprocessor">    (evtAttr)-&gt;reserved0 = 1;</span></div>
<div class="line"><a id="l01397" name="l01397"></a><span class="lineno"> 1397</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_PAYLOAD_EVTATTR_SET */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01398" name="l01398"></a><span class="lineno"> 1398</span> </div>
<div class="line"><a id="l01399" name="l01399"></a><span class="lineno"> 1399</span><span class="preprocessor">#ifndef nvtxPayloadRangePush</span></div>
<div class="line"><a id="l01409" name="l01409"></a><span class="lineno"> 1409</span><span class="preprocessor">#define nvtxPayloadRangePush(domain, evtAttr, schemaId, plAddr, size) \</span></div>
<div class="line"><a id="l01410" name="l01410"></a><span class="lineno"> 1410</span><span class="preprocessor">do { \</span></div>
<div class="line"><a id="l01411" name="l01411"></a><span class="lineno"> 1411</span><span class="preprocessor">    NVTX_PAYLOAD_EVTATTR_SET(evtAttr, schemaId, plAddr, size) \</span></div>
<div class="line"><a id="l01412" name="l01412"></a><span class="lineno"> 1412</span><span class="preprocessor">    nvtxDomainRangePushEx(domain, evtAttr); \</span></div>
<div class="line"><a id="l01413" name="l01413"></a><span class="lineno"> 1413</span><span class="preprocessor">} while (0)</span></div>
<div class="line"><a id="l01414" name="l01414"></a><span class="lineno"> 1414</span><span class="preprocessor">#endif </span><span class="comment">/* nvtxPayloadRangePush */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01415" name="l01415"></a><span class="lineno"> 1415</span> </div>
<div class="line"><a id="l01416" name="l01416"></a><span class="lineno"> 1416</span><span class="preprocessor">#ifndef nvtxPayloadMark</span></div>
<div class="line"><a id="l01426" name="l01426"></a><span class="lineno"> 1426</span><span class="preprocessor">#define nvtxPayloadMark(domain, evtAttr, schemaId, plAddr, size) \</span></div>
<div class="line"><a id="l01427" name="l01427"></a><span class="lineno"> 1427</span><span class="preprocessor">do { \</span></div>
<div class="line"><a id="l01428" name="l01428"></a><span class="lineno"> 1428</span><span class="preprocessor">    NVTX_PAYLOAD_EVTATTR_SET(evtAttr, schemaId, plAddr, size) \</span></div>
<div class="line"><a id="l01429" name="l01429"></a><span class="lineno"> 1429</span><span class="preprocessor">    nvtxDomainMarkEx(domain, evtAttr); \</span></div>
<div class="line"><a id="l01430" name="l01430"></a><span class="lineno"> 1430</span><span class="preprocessor">} while (0)</span></div>
<div class="line"><a id="l01431" name="l01431"></a><span class="lineno"> 1431</span><span class="preprocessor">#endif </span><span class="comment">/* nvtxPayloadMark */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01432" name="l01432"></a><span class="lineno"> 1432</span> </div>
<div class="line"><a id="l01433" name="l01433"></a><span class="lineno"> 1433</span><span class="comment">/* Macros to create versioned symbols. */</span></div>
<div class="line"><a id="l01434" name="l01434"></a><span class="lineno"> 1434</span><span class="preprocessor">#ifndef NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIERS_V1</span></div>
<div class="line"><a id="l01435" name="l01435"></a><span class="lineno"> 1435</span><span class="preprocessor">#define NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIERS_V1</span></div>
<div class="line"><a id="l01436" name="l01436"></a><span class="lineno"> 1436</span><span class="preprocessor">#define NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIER_L3(NAME, VERSION, COMPATID) \</span></div>
<div class="line"><a id="l01437" name="l01437"></a><span class="lineno"> 1437</span><span class="preprocessor">    NAME##_v##VERSION##_bpl##COMPATID</span></div>
<div class="line"><a id="l01438" name="l01438"></a><span class="lineno"> 1438</span><span class="preprocessor">#define NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIER_L2(NAME, VERSION, COMPATID) \</span></div>
<div class="line"><a id="l01439" name="l01439"></a><span class="lineno"> 1439</span><span class="preprocessor">    NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIER_L3(NAME, VERSION, COMPATID)</span></div>
<div class="line"><a id="l01440" name="l01440"></a><span class="lineno"> 1440</span><span class="preprocessor">#define NVTX_EXT_PAYLOAD_VERSIONED_ID(NAME) \</span></div>
<div class="line"><a id="l01441" name="l01441"></a><span class="lineno"> 1441</span><span class="preprocessor">    NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIER_L2(NAME, NVTX_VERSION, NVTX_EXT_PAYLOAD_COMPATID)</span></div>
<div class="line"><a id="l01442" name="l01442"></a><span class="lineno"> 1442</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_EXT_PAYLOAD_VERSIONED_IDENTIFIERS_V1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01443" name="l01443"></a><span class="lineno"> 1443</span> </div>
<div class="line"><a id="l01444" name="l01444"></a><span class="lineno"> 1444</span><span class="preprocessor">#ifdef __GNUC__</span></div>
<div class="line"><a id="l01445" name="l01445"></a><span class="lineno"> 1445</span><span class="preprocessor">#pragma GCC visibility push(internal)</span></div>
<div class="line"><a id="l01446" name="l01446"></a><span class="lineno"> 1446</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l01447" name="l01447"></a><span class="lineno"> 1447</span> </div>
<div class="line"><a id="l01448" name="l01448"></a><span class="lineno"> 1448</span><span class="comment">/* Extension types are required for the implementation and the NVTX handler. */</span></div>
<div class="line"><a id="l01449" name="l01449"></a><span class="lineno"> 1449</span><span class="preprocessor">#define NVTX_EXT_TYPES_GUARD</span></div>
<div class="line"><a id="l01450" name="l01450"></a><span class="lineno"> 1450</span><span class="preprocessor">#include &quot;nvtxDetail/nvtxExtTypes.h&quot;</span></div>
<div class="line"><a id="l01451" name="l01451"></a><span class="lineno"> 1451</span><span class="preprocessor">#undef NVTX_EXT_TYPES_GUARD</span></div>
<div class="line"><a id="l01452" name="l01452"></a><span class="lineno"> 1452</span> </div>
<div class="line"><a id="l01453" name="l01453"></a><span class="lineno"> 1453</span><span class="preprocessor">#ifndef NVTX_NO_IMPL</span></div>
<div class="line"><a id="l01454" name="l01454"></a><span class="lineno"> 1454</span><span class="preprocessor">#define NVTX_EXT_IMPL_PAYLOAD_GUARD</span></div>
<div class="line"><a id="l01455" name="l01455"></a><span class="lineno"> 1455</span><span class="preprocessor">#include &quot;nvtxDetail/nvtxExtImplPayload_v1.h&quot;</span></div>
<div class="line"><a id="l01456" name="l01456"></a><span class="lineno"> 1456</span><span class="preprocessor">#undef NVTX_EXT_IMPL_PAYLOAD_GUARD</span></div>
<div class="line"><a id="l01457" name="l01457"></a><span class="lineno"> 1457</span><span class="preprocessor">#endif </span><span class="comment">/* NVTX_NO_IMPL */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l01458" name="l01458"></a><span class="lineno"> 1458</span> </div>
<div class="line"><a id="l01459" name="l01459"></a><span class="lineno"> 1459</span><span class="preprocessor">#ifdef __GNUC__</span></div>
<div class="line"><a id="l01460" name="l01460"></a><span class="lineno"> 1460</span><span class="preprocessor">#pragma GCC visibility pop</span></div>
<div class="line"><a id="l01461" name="l01461"></a><span class="lineno"> 1461</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l01462" name="l01462"></a><span class="lineno"> 1462</span> </div>
<div class="line"><a id="l01463" name="l01463"></a><span class="lineno"> 1463</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l01464" name="l01464"></a><span class="lineno"> 1464</span>}</div>
<div class="line"><a id="l01465" name="l01465"></a><span class="lineno"> 1465</span><span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div>
<div class="ttc" id="anv_tools_ext_8h_html"><div class="ttname"><a href="nv_tools_ext_8h.html">nvToolsExt.h</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html"><div class="ttname"><a href="structnvtx_event_batch__t.html">nvtxEventBatch_t</a></div><div class="ttdoc">Helper struct to submit a batch of events (marks or ranges).</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00989">nvToolsExtPayload.h:990</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_a029e6d18671052add9f6d94aaa6bf379"><div class="ttname"><a href="structnvtx_event_batch__t.html#a029e6d18671052add9f6d94aaa6bf379">nvtxEventBatch_t::flexDataOffset</a></div><div class="ttdeci">size_t flexDataOffset</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01022">nvToolsExtPayload.h:1022</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_a12f16213083385276b9cc080100b5197"><div class="ttname"><a href="structnvtx_event_batch__t.html#a12f16213083385276b9cc080100b5197">nvtxEventBatch_t::flags</a></div><div class="ttdeci">uint64_t flags</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01010">nvToolsExtPayload.h:1010</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_a2ba91014d2831e199e4b3e38b388c181"><div class="ttname"><a href="structnvtx_event_batch__t.html#a2ba91014d2831e199e4b3e38b388c181">nvtxEventBatch_t::scope</a></div><div class="ttdeci">uint64_t scope</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01007">nvToolsExtPayload.h:1007</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_a6bed0017d4177f4bbbb6dac5ec70bafb"><div class="ttname"><a href="structnvtx_event_batch__t.html#a6bed0017d4177f4bbbb6dac5ec70bafb">nvtxEventBatch_t::flexDataSize</a></div><div class="ttdeci">size_t flexDataSize</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01016">nvToolsExtPayload.h:1016</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_ab94294d1b1bb900a008c2029db2967d1"><div class="ttname"><a href="structnvtx_event_batch__t.html#ab94294d1b1bb900a008c2029db2967d1">nvtxEventBatch_t::eventSchemaId</a></div><div class="ttdeci">uint64_t eventSchemaId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00998">nvToolsExtPayload.h:998</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_aee58560a3adfde054f0245301cf8d7d4"><div class="ttname"><a href="structnvtx_event_batch__t.html#aee58560a3adfde054f0245301cf8d7d4">nvtxEventBatch_t::events</a></div><div class="ttdeci">const void * events</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01004">nvToolsExtPayload.h:1004</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_af4676ad232d7e62ab7a9aeaceb598429"><div class="ttname"><a href="structnvtx_event_batch__t.html#af4676ad232d7e62ab7a9aeaceb598429">nvtxEventBatch_t::flexData</a></div><div class="ttdeci">const void * flexData</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01013">nvToolsExtPayload.h:1013</a></div></div>
<div class="ttc" id="astructnvtx_event_batch__t_html_afee23a8f0781cbe9483293172bd2ce07"><div class="ttname"><a href="structnvtx_event_batch__t.html#afee23a8f0781cbe9483293172bd2ce07">nvtxEventBatch_t::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l01001">nvToolsExtPayload.h:1001</a></div></div>
<div class="ttc" id="astructnvtx_payload_data__t_html"><div class="ttname"><a href="structnvtx_payload_data__t.html">nvtxPayloadData_t</a></div><div class="ttdoc">Binary payload data, size and decoding information.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00624">nvToolsExtPayload.h:625</a></div></div>
<div class="ttc" id="astructnvtx_payload_data__t_html_acc85b71f0d3a63e54ebc779f48df8309"><div class="ttname"><a href="structnvtx_payload_data__t.html#acc85b71f0d3a63e54ebc779f48df8309">nvtxPayloadData_t::schemaId</a></div><div class="ttdeci">uint64_t schemaId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00629">nvToolsExtPayload.h:629</a></div></div>
<div class="ttc" id="astructnvtx_payload_data__t_html_ad0f0648c8ec5854b2cda3aa6e2f5dae5"><div class="ttname"><a href="structnvtx_payload_data__t.html#ad0f0648c8ec5854b2cda3aa6e2f5dae5">nvtxPayloadData_t::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00635">nvToolsExtPayload.h:635</a></div></div>
<div class="ttc" id="astructnvtx_payload_data__t_html_ad4ecf00bae9cf3ccd26b75b20cc38019"><div class="ttname"><a href="structnvtx_payload_data__t.html#ad4ecf00bae9cf3ccd26b75b20cc38019">nvtxPayloadData_t::payload</a></div><div class="ttdeci">const void * payload</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00640">nvToolsExtPayload.h:640</a></div></div>
<div class="ttc" id="astructnvtx_payload_entry_type_info__t_html"><div class="ttname"><a href="structnvtx_payload_entry_type_info__t.html">nvtxPayloadEntryTypeInfo_t</a></div><div class="ttdoc">Size and alignment information for predefined payload entry types.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00602">nvToolsExtPayload.h:603</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum__t_html"><div class="ttname"><a href="structnvtx_payload_enum__t.html">nvtxPayloadEnum_t</a></div><div class="ttdoc">This type is used to describe an enumeration.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00846">nvToolsExtPayload.h:847</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum__t_html_a4ab5b494f0c14b54ca9de2c3477ea36f"><div class="ttname"><a href="structnvtx_payload_enum__t.html#a4ab5b494f0c14b54ca9de2c3477ea36f">nvtxPayloadEnum_t::value</a></div><div class="ttdeci">uint64_t value</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00856">nvToolsExtPayload.h:856</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum__t_html_a66c39fea8c22778c517d4f22671fff73"><div class="ttname"><a href="structnvtx_payload_enum__t.html#a66c39fea8c22778c517d4f22671fff73">nvtxPayloadEnum_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00851">nvToolsExtPayload.h:851</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum__t_html_ae90cfd1bac263d55dfda3e3deab1749a"><div class="ttname"><a href="structnvtx_payload_enum__t.html#ae90cfd1bac263d55dfda3e3deab1749a">nvtxPayloadEnum_t::isFlag</a></div><div class="ttdeci">int8_t isFlag</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00862">nvToolsExtPayload.h:862</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html">nvtxPayloadEnumAttr_t</a></div><div class="ttdoc">NVTX payload enumeration type attributes.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00870">nvToolsExtPayload.h:871</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_a011b55b330f17b2e64157c169fad3880"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#a011b55b330f17b2e64157c169fad3880">nvtxPayloadEnumAttr_t::numEntries</a></div><div class="ttdeci">size_t numEntries</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00890">nvToolsExtPayload.h:890</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_a12b15187dd2515a895935a767dfbaac0"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#a12b15187dd2515a895935a767dfbaac0">nvtxPayloadEnumAttr_t::sizeOfEnum</a></div><div class="ttdeci">size_t sizeOfEnum</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00895">nvToolsExtPayload.h:895</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_a2a81abd10a27f81936c78cdafe5a7ab8"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#a2a81abd10a27f81936c78cdafe5a7ab8">nvtxPayloadEnumAttr_t::entries</a></div><div class="ttdeci">const nvtxPayloadEnum_t * entries</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00885">nvToolsExtPayload.h:885</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_a31e43f2fd232fe218a8810ca2367906f"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#a31e43f2fd232fe218a8810ca2367906f">nvtxPayloadEnumAttr_t::extension</a></div><div class="ttdeci">void * extension</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00908">nvToolsExtPayload.h:908</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_a3210b1a35c305aaef946803cc1ac1317"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#a3210b1a35c305aaef946803cc1ac1317">nvtxPayloadEnumAttr_t::fieldMask</a></div><div class="ttdeci">uint64_t fieldMask</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00875">nvToolsExtPayload.h:875</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_a5731ed1f823e0ff0aac3eeea68c8a6d5"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#a5731ed1f823e0ff0aac3eeea68c8a6d5">nvtxPayloadEnumAttr_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00880">nvToolsExtPayload.h:880</a></div></div>
<div class="ttc" id="astructnvtx_payload_enum_attr__t_html_ac51da0682943b6a5b4fa12365d7f81d4"><div class="ttname"><a href="structnvtx_payload_enum_attr__t.html#ac51da0682943b6a5b4fa12365d7f81d4">nvtxPayloadEnumAttr_t::schemaId</a></div><div class="ttdeci">uint64_t schemaId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00902">nvToolsExtPayload.h:902</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html">nvtxPayloadSchemaAttr_t</a></div><div class="ttdoc">NVTX payload schema attributes.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00758">nvToolsExtPayload.h:759</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_a10e7a9740ec894f4b153489deda077e4"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#a10e7a9740ec894f4b153489deda077e4">nvtxPayloadSchemaAttr_t::type</a></div><div class="ttdeci">uint64_t type</div><div class="ttdoc">Payload schema type. (Mandatory).</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00777">nvToolsExtPayload.h:777</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_a30c5c448071bcc470f99ff3b76c29a47"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#a30c5c448071bcc470f99ff3b76c29a47">nvtxPayloadSchemaAttr_t::payloadStaticSize</a></div><div class="ttdeci">size_t payloadStaticSize</div><div class="ttdoc">The binary payload size in bytes for static payload schemas.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00810">nvToolsExtPayload.h:810</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_ab7098a38ce30d775c9ce245108ff64db"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#ab7098a38ce30d775c9ce245108ff64db">nvtxPayloadSchemaAttr_t::packAlign</a></div><div class="ttdeci">size_t packAlign</div><div class="ttdoc">The byte alignment for packed structures.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00819">nvToolsExtPayload.h:819</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_aba69f3fad4cd1b2e5b129019b1695422"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#aba69f3fad4cd1b2e5b129019b1695422">nvtxPayloadSchemaAttr_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Name of the payload schema. (Optional)</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00770">nvToolsExtPayload.h:770</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_ad7f767a3d434cd4f55e9924573f3544b"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#ad7f767a3d434cd4f55e9924573f3544b">nvtxPayloadSchemaAttr_t::fieldMask</a></div><div class="ttdeci">uint64_t fieldMask</div><div class="ttdoc">Mask of valid fields in this struct.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00765">nvToolsExtPayload.h:765</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_addb892502797acf269dc928e8614f97f"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#addb892502797acf269dc928e8614f97f">nvtxPayloadSchemaAttr_t::extension</a></div><div class="ttdeci">void * extension</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00832">nvToolsExtPayload.h:832</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_ae1fb939b70bec88c7702d6688ae657fc"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#ae1fb939b70bec88c7702d6688ae657fc">nvtxPayloadSchemaAttr_t::schemaId</a></div><div class="ttdeci">uint64_t schemaId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00826">nvToolsExtPayload.h:826</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_af82f33d22722ca11731778945bc44ef6"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#af82f33d22722ca11731778945bc44ef6">nvtxPayloadSchemaAttr_t::flags</a></div><div class="ttdeci">uint64_t flags</div><div class="ttdoc">Payload schema flags. (Optional)</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00785">nvToolsExtPayload.h:785</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_afa128ebfebfbb3333f41d8a1161b6176"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#afa128ebfebfbb3333f41d8a1161b6176">nvtxPayloadSchemaAttr_t::entries</a></div><div class="ttdeci">const nvtxPayloadSchemaEntry_t * entries</div><div class="ttdoc">Entries of a payload schema. (Mandatory).</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00793">nvToolsExtPayload.h:793</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_attr__t_html_afc8b55620206061decbac5eb2f3a9051"><div class="ttname"><a href="structnvtx_payload_schema_attr__t.html#afc8b55620206061decbac5eb2f3a9051">nvtxPayloadSchemaAttr_t::numEntries</a></div><div class="ttdeci">size_t numEntries</div><div class="ttdoc">Number of entries in the payload schema. (Mandatory)</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00800">nvToolsExtPayload.h:800</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html">nvtxPayloadSchemaEntry_t</a></div><div class="ttdoc">Entry in a schema.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00675">nvToolsExtPayload.h:676</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_a187c1291da112ded29e1275700e3dabd"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#a187c1291da112ded29e1275700e3dabd">nvtxPayloadSchemaEntry_t::arrayOrUnionDetail</a></div><div class="ttdeci">uint64_t arrayOrUnionDetail</div><div class="ttdoc">String length, array length or member selector for union types.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00724">nvToolsExtPayload.h:724</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_a4c30462422da86de1abeedcef07dd541"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#a4c30462422da86de1abeedcef07dd541">nvtxPayloadSchemaEntry_t::type</a></div><div class="ttdeci">uint64_t type</div><div class="ttdoc">Predefined payload schema entry type or custom schema ID.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00691">nvToolsExtPayload.h:691</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_a6a550470ce91d70e4207583b5f04df7e"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#a6a550470ce91d70e4207583b5f04df7e">nvtxPayloadSchemaEntry_t::offset</a></div><div class="ttdeci">uint64_t offset</div><div class="ttdoc">Offset in the binary payload data (in bytes).</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00739">nvToolsExtPayload.h:739</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_a6ed4f95ea65ef1bb2ccbdc8c7fb218e0"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#a6ed4f95ea65ef1bb2ccbdc8c7fb218e0">nvtxPayloadSchemaEntry_t::description</a></div><div class="ttdeci">const char * description</div><div class="ttdoc">Description of the payload entry. (Optional)</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00705">nvToolsExtPayload.h:705</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_a71ddd016470557793d6776781b7c8406"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#a71ddd016470557793d6776781b7c8406">nvtxPayloadSchemaEntry_t::semantics</a></div><div class="ttdeci">const nvtxSemanticsHeader_t * semantics</div><div class="ttdoc">Additional semantics of the payload entry.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00747">nvToolsExtPayload.h:747</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_a98a3b003669edb0daf1a2b4f9a71fa59"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#a98a3b003669edb0daf1a2b4f9a71fa59">nvtxPayloadSchemaEntry_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">Name or label of the payload entry. (Optional)</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00698">nvToolsExtPayload.h:698</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_ae8091f5c48af11c8de5353fa4a949d84"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#ae8091f5c48af11c8de5353fa4a949d84">nvtxPayloadSchemaEntry_t::reserved</a></div><div class="ttdeci">const void * reserved</div><div class="ttdoc">Reserved for future use. Do not use it!</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00752">nvToolsExtPayload.h:752</a></div></div>
<div class="ttc" id="astructnvtx_payload_schema_entry__t_html_ae9d93cd49514b16ffa11d4ae6bcc1da7"><div class="ttname"><a href="structnvtx_payload_schema_entry__t.html#ae9d93cd49514b16ffa11d4ae6bcc1da7">nvtxPayloadSchemaEntry_t::flags</a></div><div class="ttdeci">uint64_t flags</div><div class="ttdoc">Flags to augment the basic type.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00683">nvToolsExtPayload.h:683</a></div></div>
<div class="ttc" id="astructnvtx_scope_attr__t_html"><div class="ttname"><a href="structnvtx_scope_attr__t.html">nvtxScopeAttr_t</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00911">nvToolsExtPayload.h:912</a></div></div>
<div class="ttc" id="astructnvtx_scope_attr__t_html_a48eeeed47ef503c114af84c40d39ef98"><div class="ttname"><a href="structnvtx_scope_attr__t.html#a48eeeed47ef503c114af84c40d39ef98">nvtxScopeAttr_t::parentScope</a></div><div class="ttdeci">uint64_t parentScope</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00934">nvToolsExtPayload.h:934</a></div></div>
<div class="ttc" id="astructnvtx_scope_attr__t_html_aca9b5b78f0557ccf9c009ce797f9fe87"><div class="ttname"><a href="structnvtx_scope_attr__t.html#aca9b5b78f0557ccf9c009ce797f9fe87">nvtxScopeAttr_t::scopeId</a></div><div class="ttdeci">uint64_t scopeId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00941">nvToolsExtPayload.h:941</a></div></div>
<div class="ttc" id="astructnvtx_scope_attr__t_html_af4db5037a7c7970861688d47db6c0f2a"><div class="ttname"><a href="structnvtx_scope_attr__t.html#af4db5037a7c7970861688d47db6c0f2a">nvtxScopeAttr_t::path</a></div><div class="ttdeci">const char * path</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00931">nvToolsExtPayload.h:931</a></div></div>
<div class="ttc" id="astructnvtx_semantics_header__t_html"><div class="ttname"><a href="structnvtx_semantics_header__t.html">nvtxSemanticsHeader_t</a></div><div class="ttdoc">Header of the payload entry's semantic field.</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00651">nvToolsExtPayload.h:652</a></div></div>
<div class="ttc" id="astructnvtx_semantics_header__t_html_ad1e09c81ba70c0678b398808b23133ca"><div class="ttname"><a href="structnvtx_semantics_header__t.html#ad1e09c81ba70c0678b398808b23133ca">nvtxSemanticsHeader_t::semanticId</a></div><div class="ttdeci">uint16_t semanticId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00654">nvToolsExtPayload.h:654</a></div></div>
<div class="ttc" id="astructnvtx_sync_point__t_html"><div class="ttname"><a href="structnvtx_sync_point__t.html">nvtxSyncPoint_t</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00976">nvToolsExtPayload.h:977</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html">nvtxTimeDomainAttr_t</a></div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00950">nvToolsExtPayload.h:951</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html_a37c03a5bfa70f3d6189f7e4d93628105"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html#a37c03a5bfa70f3d6189f7e4d93628105">nvtxTimeDomainAttr_t::timeDomainId</a></div><div class="ttdeci">uint64_t timeDomainId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00963">nvToolsExtPayload.h:963</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html_a5285d2fa1096393a6e77598845265544"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html#a5285d2fa1096393a6e77598845265544">nvtxTimeDomainAttr_t::scopeId</a></div><div class="ttdeci">uint64_t scopeId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00953">nvToolsExtPayload.h:953</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html_a8f591ca10a043d6ea21f70f1718cfd08"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html#a8f591ca10a043d6ea21f70f1718cfd08">nvtxTimeDomainAttr_t::timestampTypeId</a></div><div class="ttdeci">uint64_t timestampTypeId</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00956">nvToolsExtPayload.h:956</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html_ac2e5df710e17c9f6b0d2ccf2c22537d9"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html#ac2e5df710e17c9f6b0d2ccf2c22537d9">nvtxTimeDomainAttr_t::timerStart</a></div><div class="ttdeci">uint64_t timerStart</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00972">nvToolsExtPayload.h:972</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html_acfe8945f6ca8b09d34016e0b45a9c00c"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html#acfe8945f6ca8b09d34016e0b45a9c00c">nvtxTimeDomainAttr_t::timerResolution</a></div><div class="ttdeci">int64_t timerResolution</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00969">nvToolsExtPayload.h:969</a></div></div>
<div class="ttc" id="astructnvtx_time_domain_attr__t_html_af3b24e72a656a74bc193ad5149939c10"><div class="ttname"><a href="structnvtx_time_domain_attr__t.html#af3b24e72a656a74bc193ad5149939c10">nvtxTimeDomainAttr_t::timerFlags</a></div><div class="ttdeci">uint64_t timerFlags</div><div class="ttdef"><b>Definition</b> <a href="nv_tools_ext_payload_8h_source.html#l00966">nvToolsExtPayload.h:966</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
